package datatypes.r2.basic.impl;

import java.sql.Blob;

import datatypes.r2.basic.BIN;
import datatypes.r2.flavors.BN;
import datatypes.r2.foundation.impl.Sequence;

/**
 * A raw block of bits.
 * 
 * BIN is a protected type that SHALL NOT be assigned to any property outside
 * the data type specification.
 * 
 * A bit is semantically identical with a non-null BL value. Thus, all binary
 * data is — semantically — a sequence of non-null BL values.
 * 
 * @author Obama
 * 
 */
public class BinaryData extends Sequence<BN> implements BIN {

	private static final long serialVersionUID = 1L;
	
	private Blob value;
	
	private boolean[] bin;

	public Blob getValue() {
		return value;
	}

	public void setValue(Blob value) {
		this.value = value;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public boolean[] getBin() {
		return bin;
	}

	public void setBin(boolean[] bin) {
		this.bin = bin;
	}
	
	
}
